package me.xiaoyan.java.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewTest {
    @RequestMapping("/view1")
    public String view(Model model){
        model.addAttribute("aaa","aaaaaa");
        return "view";
    }
}
